package com.charlotte.study.gupao.adapter.cls;

/**
 * @author junjie.ding
 * @date 2020/3/11
 */
public class ACC220Adapter extends ACC220 implements DC5 {

    @Override
    public int outputDC5() {
        int acc220V = super.outputACC220V();
        int dc5 = acc220V/44;
        System.out.println("将交流电220V转为直流电5V");
        return dc5;
    }
}
